<h3> ${loginUser.department.name} 科室管理 </h3>
<div class="room">
<ul>
  <li class="first">下属科室[顺序号]</li>
  <#list beans as dept>
     <#assign sindex=dept_index>
     <li><img src="${sbase}images/group.png" />
     <a class="dname" did="${dept.id}" sort="${dept.sortNum}"  href="javascript:;">${dept.name}</a> [${dept.sortNum}]   
     <a href="javascript:;" class="remove" did="${dept.id}" ><img  src="${sbase}images/removeme.gif"/></a></li>      
  </#list>
</ul>
</div>
<form class="dform">
<fieldset>
<legend>添加科室</legend>
<p>添加新科室前请点击 重置 按钮</p>
<p>
名称:<input id="name" name="bean.name" />序号:<input class="sort" name="bean.sortNum" value="${(sindex)!+1}"/>
<input type="hidden" name="bean.parent.id" value="${loginUser.department.id}"/>
<input type="hidden" name="bean.departmentType" value="Room"/>
</p>
<p>
<button type="button">保存</button>
<button type="reset">重置</button>
</p>
</fieldset>
</form>
<script type="text/javascript" src="scripts/apps/admin/department/room.js"></script>
<link href="css/admin/department/room.css" type="text/css"  rel="stylesheet" />